package com.zhengxin.one.entity.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ExcelTarget("commercial")
public class CommercialExcel {
    @Excel(name = "*姓名")
    private String name;
    @Excel(name = "*证件号码")
    private String id_card;
    @Excel(name = "*户籍市")
    private String region;
    @Excel(name = "*户口性质")
    private String residence_type;
    @Excel(name = "民族")
    private String nation;
    @Excel(name = "手机")
    private String phone;
    //商保
    @Excel(name = "*参保年月",importFormat = "yyyy/MM/dd")
    private Date jointime;

}
